body,h1,ul {
    margin: 0;
    padding: 0;
}
/* 定义导航栏 */
#nav {
    width: 100%;
    min-width: 1263px;
    height: 70px;
    background-color: #333333;
}

ul {
    list-style: outside none none;
}

#nav .center {
    /* 1280-滚动条的宽度 = 1263px */
    width: 1263px;
    height: 70px;
    margin: 0 auto;
    /* background-color: red; */
}

#nav .logo {
    width: 240px;
    height: 70px;
    background-color: blueviolet;
    background: url(../img/lanchuang.jpg) no-repeat;
    text-indent: -9999px;
    float: left;
}

#nav .link {
    width: 650px;
    height: 70px;
    /* 设置行高 */
    line-height:70px;
    /* background-color: red; */
    float: right;
    color: white;
}

#nav .link li {
    float: left;
    width: 120px;
    text-align: center;
}

a {
    text-decoration: none;
}

#nav .link a {
    /* 将行内元素转换为块级元素,扩大范围 */
    display: block;
    color: #eeeeee;
}

#nav .link a:hover,#nav .active a{
    background-color: black;
}
/* 大图搜索区域 */
#search {
    width: 100%;
    /* 最小宽度 */
    min-width: 1263px;
    height: 600px;
    background: url(../img/adver.jpg) no-repeat center;
    position: relative;
}

#search .center {
    width: 600px;
    height: 60px;
    background-color: #000000;
    position: absolute;
    left:50%;
    top:50%;
    margin: -30px 0 0 -300px;
    /* 设置透明度 */
    opacity: 0.6;
    /* 设置圆角 */
    border-radius: 10px;
}

#search .search {
    width: 445px;
    height: 50px;
    background-color: #eeeeee;
    position: absolute;
    left:50%;
    top:50%;
    margin: -27px 0 0 -297px;
    font-size: 24px;
    padding: 0 10px;
    color: #cccccc;
    outline: none;
    border-radius: 10px;
    border:  1px solid #333333;
}

#search .button {
    width: 120px;
    height: 54px;
    background-color: #eeeeee;
    color: #cccccc;
    position: absolute;
    left:50%;
    top:50%;
    margin: -27px 0 0 175px;
    font-size: 24px;
    border:  1px solid #333333;
    outline: none;
    border-radius: 10px;
    cursor: pointer;
}